Repository navigation
test: dedupe lease admission tests - #5165
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Size Report
Startup median (7 runs, lower is better):
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
|
The PR is ready at 8ca1819, and the change touches tests only. Coverage, Integration Tests, Lint/Typecheck and Repo Guards pass, none of the 20 checks is failing, and only Proof is skipped. Not verified here: tests and mutants were not run, so coverage equivalence rests on reading the code, the reported 40/40 run and 40-mutant experiment were not reproduced, and CI job logs were not read to confirm that the loopback-dependent proxy cases ran instead of being skipped. Not blocking, take it or leave it: |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
Summary
Audit of the lease-admission tests added by #5151: each behaviour now has one owner. Test-only, 3 files, +119 −249 (net −130), 42 → 40 cases.
LeaseAdmissionUnsupportedError, so they own what the deleted proxy cases proved.Daemon lease-lifecycle and lease-expiry tests are untouched.
Validation
At 7985fdc, the three changed files: 40/40 passed with loopback required (base: 42/42).
Disposable worktree at fc50f31, same test diff: 40 planted production bugs; base and head each catch 39. Neither catches removing the backend-match heartbeat condition (existing gap).
Gates, typecheck and the full suite are pending CI. No independent review; diff self-reviewed.
Security
No production change. Never-resend, dispatch-disclosure, owner-scope and instance-identity cases remain. For the deleted instance-mismatch case, client route assertions still forbid resending to the replacement; the CLI case pins one rerun.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.